package com.flida.echart.basic.system.service.impl;

import com.flida.echart.basic.api.system.entity.LinkType;
import com.flida.echart.basic.system.dao.LinkTypeDao;
import com.flida.echart.basic.system.service.ILinkTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("linkTypeService")
public class LinkTypeServiceImpl implements ILinkTypeService {
    @Autowired
    private LinkTypeDao linkTypeDao;


    public int deleteByPrimaryKey(String id) {

        return linkTypeDao.deleteByPrimaryKey(id);
    }


    public int insert(LinkType record) {

        return linkTypeDao.insert(record);
    }


    public int insertSelective(LinkType record) {

        return linkTypeDao.insertSelective(record);
    }


    public LinkType selectByPrimaryKey(String id) {

        return linkTypeDao.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(LinkType record) {

        return linkTypeDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKey(LinkType record) {

        return linkTypeDao.updateByPrimaryKey(record);
    }

}
